package cn.ilikes.tools.nosql.jpa.persistences;

import java.util.Properties;

import cn.ilikes.tools.nosql.jpa.JPASQLPersistenUnitEnv;

/**
 * JPA HBase Entity Manager Factory 相关环境
 * 
 * @author fack
 * 
 */
public class JPASQLEntityManagerFactoryEnv {

	protected JPASQLPersistenUnitEnv persistenUnitEnv;

	protected Properties envProperties;

	public JPASQLEntityManagerFactoryEnv(Properties envProperties, JPASQLPersistenUnitEnv persistenUnitEnv) {
		super();
		this.envProperties = envProperties;
		this.persistenUnitEnv = persistenUnitEnv;
	}

	public JPASQLPersistenUnitEnv getPersistenUnitEnv() {
		return persistenUnitEnv;
	}

	public Properties getEnvProperties() {
		return envProperties;
	}

	public String getPersistenUnitName() {
		return persistenUnitEnv.getPersistenUnitName();
	}

}
